package org.ilead.iserve.dao;

import java.util.List;

import org.ilead.iserve.model.UserSystemMessageAssociate;

public interface IUserSystemMessageAssociateDAO {
	// property constants
	public static final String MESSAGE_ID = "messageId";
	public static final String STATE = "state";
	public static final String USER_ID = "userId";
	
	public abstract void save(UserSystemMessageAssociate transientInstance);

	public abstract void delete(UserSystemMessageAssociate persistentInstance);

	public abstract UserSystemMessageAssociate findById(java.lang.Integer id);

	public abstract List findByExample(UserSystemMessageAssociate instance);

	public abstract List findByProperty(String propertyName, Object value);
	
	public abstract List findByMessageId(Object messageId);

	public abstract List findAll();

	public abstract UserSystemMessageAssociate merge(UserSystemMessageAssociate detachedInstance);

	public abstract void attachDirty(UserSystemMessageAssociate instance);

	public abstract void attachClean(UserSystemMessageAssociate instance);
}
